package com.laf.service.impl;

import com.laf.mapper.ScopeMapper;
import com.laf.model.Scope;
import com.laf.service.ScopeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author: He Changjie  on  2018-09-29
 * @description:
 */
@Service("scopeService")
public class ScopeServiceImpl implements ScopeService {

    @Resource
    ScopeMapper mapper;

    @Override
    public List<Scope> findAll() {
        List<Scope> list = mapper.findAll();
        return list;
    }
}
